package com.xunwulian.base.constant;

import com.xunwulian.base.util.EnumType;

/**
 * 1（返回1指3G）、2（返回2指2G）、6（返回6指4G及其他）
 */
public enum RatType implements EnumType<RatType, String, String> {

    G3("1", "3G"),
    G2("2", "2G"),
    G6("6", "4G或其他"),
    UNKNOWN("9", "未知");

    public String role;
    public String desc;

    RatType(String role, String desc) {
        this.role = role;
        this.desc = desc;
    }

    @Override
    public String getType() {
        return this.role;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }


}
